package cn.tedu.egweibo1.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum Status {
    USERNAME_EXISTS(1002,"用户名已存在"),
    OPERATION_SUCCESS(2001,"操作成功"),
    VALIDATE_FAILED(3000,"验证失败"),
    UNKNOWN_ERROR(4000,"未知异常");
    private Integer statusCode;
    private String message;
}
